package com.hyg.lib_common.loginpart.modle;

/**
 * @author: Administrator
 * @date: 2021/4/2
 */
public class LoginByPasswordData {


    /**
     * code : 200
     * data : {"userInfo":{"id":54,"password":"8D969EEF6ECAD3C29A3A629280E686CF0C3F5D5A86AFF3CA12020C923ADC6C92","phone":"18722205917","gender":1,"realName":"扣扣","userLevelValue":0,"createTime":"2020-01-10 13:46:14","updateTime":"2020-01-10 13:46:14"},"token":"ee3ccf64c7fe348a4b01a9ebaae0e9bf"}
     */

    public int code;
    public DataDTO data;


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {
        /**
         * userInfo : {"id":54,"password":"8D969EEF6ECAD3C29A3A629280E686CF0C3F5D5A86AFF3CA12020C923ADC6C92","phone":"18722205917","gender":1,"realName":"扣扣","userLevelValue":0,"createTime":"2020-01-10 13:46:14","updateTime":"2020-01-10 13:46:14"}
         * token : ee3ccf64c7fe348a4b01a9ebaae0e9bf
         */

        public UserInfoDTO userInfo;
        public String token;
        public String message;
        public int status;

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public UserInfoDTO getUserInfo() {
            return userInfo;
        }

        public void setUserInfo(UserInfoDTO userInfo) {
            this.userInfo = userInfo;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public static class UserInfoDTO {
            /**
             * id : 54
             * password : 8D969EEF6ECAD3C29A3A629280E686CF0C3F5D5A86AFF3CA12020C923ADC6C92
             * phone : 18722205917
             * gender : 1
             * realName : 扣扣
             * userLevelValue : 0
             * createTime : 2020-01-10 13:46:14
             * updateTime : 2020-01-10 13:46:14
             */

            public int id;
            public String password;
            public String phone;
            public int gender;
            public String realName;
            public int userLevelValue;
            public String createTime;
            public String updateTime;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getPassword() {
                return password;
            }

            public void setPassword(String password) {
                this.password = password;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public int getGender() {
                return gender;
            }

            public void setGender(int gender) {
                this.gender = gender;
            }

            public String getRealName() {
                return realName;
            }

            public void setRealName(String realName) {
                this.realName = realName;
            }

            public int getUserLevelValue() {
                return userLevelValue;
            }

            public void setUserLevelValue(int userLevelValue) {
                this.userLevelValue = userLevelValue;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }
        }
    }
}
